package com.crane.oss.school.bean.request.teacher;


import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2022年03月26日 14时24分54秒
 */
@ApiModel(description = "修改老师参数")

@Getter
@Setter
@ToString

public class UpdateTeacherReq implements Serializable {

	private static final long serialVersionUID = -2601301417878755635L;

	@ApiModelProperty(value = "老师id", name = "teacherId")
    @NotNull(message = "请选择要修改的老师")
    private Long teacherId;

    @ApiModelProperty(value = "老师姓名", name = "name")
    @Size(min = 1, max = 255, message = "老师姓名长度不在范围内")
    private String name;
    
    @ApiModelProperty(value = "手机号码", name = "phone")
    @Size(min = 11, max = 11, message = "手机号码长度不在范围内")
    private String phone;

    @ApiModelProperty(value = "学校id", name = "partyId", hidden = true)
    private Long partyId;

    @ApiModelProperty(value = "校区id", name = "schoolId")
    private Long schoolId;

    @ApiModelProperty(value = "账号", name = "account")
    @Size(max = 255, message = "account长度超长")
    private String account;

    @ApiModelProperty(value = "性别 0 男  1女", name = "sex")
    private Integer sex;

    @ApiModelProperty(value = "类型 0其他  1体育老师", name = "type")
    private Integer type;
    
    @ApiModelProperty(value = "任教班级id:包括历史班级id、新加班级id", name = "classesIds")
    private List<Long> classesIds;
    
    @ApiModelProperty(value = "系统用户id", name = "updateUserId", hidden = true)
    private Long updateUserId;

}
